package org.springblade.modules.filesys.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class FileNode {
	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "文件树层级")
	private Integer level;

	@ApiModelProperty(value = "文件名")
	private String name;

	@ApiModelProperty(value = "文件相对路径")
	private String path;

	@ApiModelProperty(value = "类型 0文件夹 1文件")
	private Integer type;

	@ApiModelProperty(value = "文件树子节点")
	private List<FileNode> child;
}
